/**
 * 
 */
package org.dbwebx.gwt.widget.tree;

import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Tree;
import com.google.gwt.user.client.ui.TreeItem;

/**
 * @author Izzet_Mustafayev
 * 
 */
public class TreePanel extends Composite {

	public static final String STYLE_NAME = "dbwebx-tree";

	/**
	 * 
	 */
	public TreePanel() {
		super();
		// should call according to contract
		Tree tree = new Tree();
		TreeItem rootItem = new TreeItem("<strong>Root</strong>");
		rootItem.addItem("Something");
		tree.addItem(rootItem);
		initWidget(tree);
		setStyleName(STYLE_NAME);
	}

}
